﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace HF.WorkFlow.DataContract
{
    /// <summary>
    /// 处理者数据契约
    /// </summary>
    /// <remarks>描述处理者的数据契约</remarks>
    [DataContract]
    public class OperatorInstanceEntity
    {
        /// <summary>
        ///处理者实例Id
        /// </summary>
        [DataMember]
        public string OperatorInstanceId { get; set; }
        /// <summary>
        /// 流程模板Id
        /// </summary>
        [DataMember]
        public string WorkFlowId { get; set; }
        /// <summary>
        /// 任务模板Id
        /// </summary>
        [DataMember]
        public string WorkTaskId { get; set; }
        /// <summary>
        /// 所属流程实例Id。
        /// </summary>
        [DataMember]
        public string WorkFlowInstanceId { get; set; }
        /// <summary>
        /// 所属任务实例Id
        /// </summary>
        [DataMember]
        public string WorkTaskInstanceId { get; set; }
        /// <summary>
        /// 实际处理人Id
        /// </summary>
        [DataMember]
        public string UserId { get; set; }
        /// <summary>
        /// 处理人类型
        /// </summary>
        [DataMember]
        public int OperType { get; set; }
        /// <summary>
        /// 处理者Id
        /// </summary>
        [DataMember]
        public string OperContent { get; set; }
        /// <summary>
        /// 处理者的名称
        /// </summary>
        [DataMember]
        public string OperContentText { get; set; }
        /// <summary>
        /// 处理时间。
        /// </summary>
        [DataMember]
        public DateTime OperDateTime { get; set; }
        /// <summary>
        /// 处理者状态
        /// </summary>
        [DataMember]
        public string OperStatus { get; set; }
        /// <summary>
        /// 如果被指派人，此处存放被指派人的Userid
        /// </summary>
        [DataMember]
        public string ChangeOperator { get; set; }
        /// <summary>
        ///处理者关系，
        /// </summary>
        [DataMember]
        public int OperRealtion { get; set; }
       
    }
}
